#ifndef NEAREST_PHOTON_H
#define NEAREST_PHOTON_H

#include "src/scene/photon.h"

struct NearestPhoton{
    NearestPhoton(Photon *_p = NULL, const double &_d = 0, const double &_r = 0);
    ~NearestPhoton(){};

    NearestPhoton& operator=(const NearestPhoton &);
    bool operator<(const NearestPhoton &) const;

    Photon *photon;
    double distance2;
    double maxRadius;
};

#endif


